package bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Take-off
 * @Description: TODO 模拟Dao 层
 * @Date: 2022/12/14 8:34 PM
 * @Version: 1.0
 **/
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("1", "六一是居");
        hashMap.put("2", "六一不是居");
        hashMap.put("3", "六一肯定居");
    }

    public String queryUserName(String uId) {
        return hashMap.get(uId);
    }
}
